package com.qt.eurekaClientSearch.rpc.impl;

import com.qt.eurekaClientSearch.entity.Product;
import com.qt.eurekaClientSearch.rpc.UserRpcClient;
import com.qt.result.Result;
import org.springframework.stereotype.Component;

/**
 * Despription:
 *
 * @Autor: xusl
 * @Date: 2019/6/19 16:08
 * @Version: 1.0
 **/
@Component
public class UserRpcClientImpl implements UserRpcClient {
    @Override
    public Result queryByPage(Integer pageSize, Integer pn, Product product) {
        Result result = Result.failed();
        result.setMsg("rpc occur error");
        return result;

    }
}
